package cn.shengchao.examstar.distribute.infrastrure.po;

import com.baomidou.mybatisplus.annotation.*;

import lombok.Data;
import lombok.EqualsAndHashCode;
import top.continew.starter.extension.crud.model.entity.BaseDO;

@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "distribute_user_bank")
public class DistributeUserBank extends BaseDO {
    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 分销类型 0平台 1内容 2销售
     */
    @TableField(value = "distribute_type")
    private Integer distributeType;

    /**
     * 银行名称

     */
    @TableField(value = "bank_name")
    private String bankName;

    /**
     * 开户行
     */
    @TableField(value = "bank_branch")
    private String bankBranch;

    /**
     * 账户名称
     */
    @TableField(value = "account_name")
    private String accountName;

    /**
     * 卡号
     */
    @TableField(value = "card_no")
    private String cardNo;

    /**
     * 删除状态0生效，1删除
     */
    @TableField(value = "deleted")
    @TableLogic(value = "0", delval = "1")
    private Integer deleted;
}